home *** CD-ROM | disk | FTP | other *** search
/ SuperModels in the Rainforest / SuperModels in the Rainforest.iso / rain.dxr / 00507.ls < prev    next >
Encoding:
Text File  |  1995-10-13  |  1.6 KB  |  63 lines

  1. on exitFrame
  2.   global gbRollShoot1, gbRollShoot2, gbRollShoot3, giInPlay, gobackto, biggie
  3.   set gobackto to the frame
  4.   repeat with x = 2 to 4
  5.     if rollOver(x) then
  6.       set the cursor of sprite x to [563, 564]
  7.     end if
  8.   end repeat
  9.   repeat with x = 5 to 8
  10.     if rollOver(x) then
  11.       set the cursor of sprite x to [561, 562]
  12.     end if
  13.   end repeat
  14.   set the cursor of sprite 10 to [561, 562]
  15.   repeat with x = 28 to 31
  16.     if rollOver(x) then
  17.       set the cursor of sprite x to [561, 562]
  18.     end if
  19.   end repeat
  20.   if rollOver(16) and (gbRollShoot1 <> 1) then
  21.     repeat with i = 12 to 14
  22.       set the visible of sprite i to 1
  23.     end repeat
  24.     set gbRollShoot1 to 1
  25.   else
  26.     if not rollOver(16) and (gbRollShoot1 <> 0) then
  27.       repeat with i = 12 to 14
  28.         set the visible of sprite i to 0
  29.       end repeat
  30.       set gbRollShoot1 to 0
  31.     end if
  32.   end if
  33.   if rollOver(17) and (gbRollShoot2 <> 1) then
  34.     set the visible of sprite 10 to 1
  35.     set gbRollShoot2 to 1
  36.   else
  37.     if not rollOver(17) and (gbRollShoot2 <> 0) then
  38.       set the visible of sprite 10 to 0
  39.       set gbRollShoot2 to 0
  40.     end if
  41.   end if
  42.   if rollOver(18) and (gbRollShoot3 <> 1) then
  43.     repeat with i = 5 to 8
  44.       set the visible of sprite i to 1
  45.     end repeat
  46.     set gbRollShoot3 to 1
  47.   else
  48.     if not rollOver(18) and (gbRollShoot3 <> 0) then
  49.       repeat with i = 5 to 8
  50.         set the visible of sprite i to 0
  51.       end repeat
  52.       set gbRollShoot3 to 0
  53.     end if
  54.   end if
  55.   if giInPlay = 1 then
  56.     if the timer > 100 then
  57.       startTimer()
  58.       cNextShot(2)
  59.     end if
  60.   end if
  61.   go(the frame)
  62. end
  63.